/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.AddIn*/
public class AddIn extends JavaScriptObject {

	protected AddIn() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final String getFullName()/*-{
		return this.FullName;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final String getPath()/*-{
		return this.Path;
	}-*/;

	protected native final int _getRegistered()/*-{
		return this.Registered;
	}-*/;

	public final MsoTriState getRegistered(){
		return MsoTriState.valueOf(_getRegistered());
	}
	protected native final void _setRegistered( int value)/*-{
		this.Registered = value;
	}-*/;

	public final void setRegistered(MsoTriState value){
		_setRegistered(value.getValue());
	}
	protected native final int _getAutoLoad()/*-{
		return this.AutoLoad;
	}-*/;

	public final MsoTriState getAutoLoad(){
		return MsoTriState.valueOf(_getAutoLoad());
	}
	protected native final void _setAutoLoad( int value)/*-{
		this.AutoLoad = value;
	}-*/;

	public final void setAutoLoad(MsoTriState value){
		_setAutoLoad(value.getValue());
	}
	protected native final int _getLoaded()/*-{
		return this.Loaded;
	}-*/;

	public final MsoTriState getLoaded(){
		return MsoTriState.valueOf(_getLoaded());
	}
	protected native final void _setLoaded( int value)/*-{
		this.Loaded = value;
	}-*/;

	public final void setLoaded(MsoTriState value){
		_setLoaded(value.getValue());
	}
	protected native final int _getDisplayAlerts()/*-{
		return this.DisplayAlerts;
	}-*/;

	public final MsoTriState getDisplayAlerts(){
		return MsoTriState.valueOf(_getDisplayAlerts());
	}
	protected native final void _setDisplayAlerts( int value)/*-{
		this.DisplayAlerts = value;
	}-*/;

	public final void setDisplayAlerts(MsoTriState value){
		_setDisplayAlerts(value.getValue());
	}
	protected native final int _getRegisteredInHKLM()/*-{
		return this.RegisteredInHKLM;
	}-*/;

	public final MsoTriState getRegisteredInHKLM(){
		return MsoTriState.valueOf(_getRegisteredInHKLM());
	}
}
